﻿@using ABP.TPLMS.Web.Startup
@model ABP.TPLMS.Web.Models.Module.EditModuleModalViewModel

@{

    ViewData["Title"] = PageNames.Module;

}

<h2>删除模块</h2>
<h3>Are you sure you want to delete this?</h3>

<div>
    <h4>Cargo</h4>
    <hr />
    <dl class="dl-horizontal">
        <dt>
            @Html.DisplayNameFor(model => model.Module.Name)

        </dt>
        <dd>
            @Html.DisplayFor(model => model.Module.Name)

        </dd>
        <dt>
            @Html.DisplayNameFor(model => model.Module.DisplayName)

        </dt>
        <dd>
            @Html.DisplayFor(model => model.Module.DisplayName)

        </dd>
        <dt>
            @Html.DisplayNameFor(model => model.Module.Status)

        </dt>
        <dd>
            @Html.DisplayFor(model => model.Module.Status)

        </dd>
        <dt>
            @Html.DisplayNameFor(model => model.Module.RequiredPermissionName)

        </dt>
        <dd>
            @Html.DisplayFor(model => model.Module.RequiredPermissionName)

        </dd>
        <dt>
            @Html.DisplayNameFor(model => model.Module.IconName)

        </dt>
        <dd>
            @Html.DisplayFor(model => model.Module.IconName)

        </dd>
        <dt>
            @Html.DisplayNameFor(model => model.Module.ParentName)

        </dt>
        <dd>
            @Html.DisplayFor(model => model.Module.ParentName)

        </dd>
        <dt>
            @Html.DisplayNameFor(model => model.Module.RequiresAuthentication)

        </dt>
        <dd>
            @Html.DisplayFor(model => model.Module.RequiresAuthentication)
        </dd>
        <dt>
            @Html.DisplayNameFor(model => model.Module.Url)
        </dt>
        <dd>
            @Html.DisplayFor(model => model.Module.Url)

        </dd>
    </dl>

    <form asp-action="Delete">
        <input type="hidden" asp-for="@Model.Module.Id" />

        <input type="submit" value="Delete" class="btn btn-default" /> |

        <a asp-action="Index">Back to List</a>
    </form>
</div>